package pomodorotasks.testutils

import com.google.api.services.tasks.model.TaskLists
import com.google.api.services.tasks.model.TaskList

/**
 * Provides helper methods to manage google tasks for testing
 * @author Dawid Pytel
 */
class GoogleTasksUtils {
    
    public static TaskLists createTaskList(names) {
        TaskLists taskLists = new TaskLists()
        taskLists.setItems(names.collect {new TaskList(title: it) })
    }
	
}

